<?php
require_once $_SERVER['DOCUMENT_ROOT'].'../../Configuration/default_config.php';
include '../../../Modules/Operative/class.tmptarifa.php';
echo '###Start Test';
$val = $_GET['val'];
$NovaTarifa = new Tarifa;
$result = $NovaTarifa->CalculaTarifa(307,804,$val);

echo '###end Test';

echo '###Print Results';
echo '<p>Valor: '.$val;
    printArray($result);

    echo '<p>Taxa Money:'.$result['TaxaMoney'];

    echo '<p>Taxa Corr:'.$result['TaxaCorr'];
    echo '<p>Taxa Total:'.$result['TaxaTotal'];
    echo '<p>Taxa Imp:'.$result['ImpSelo'];
?>
